import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Demo1 from '../components/Demo1.vue'
const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'Demo1',
        component: Demo1
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
//导出路由
export default router